<!-- eslint-disable vue/multi-word-component-names -->
<script setup>
import HomeCategroy from "./components/HomeCategroy.vue";
import HomeBanner from "./components/HomeBanner.vue";
import HomeNew from "./components/HomeNew.vue";
import HomeHot from "./components/HomeHot.vue";
import HomeProduct from "./components/HomeProduct.vue";

// 导入公共函数库的banner方法
import { useBanner } from "@/composables/category/useBanner";

// 获取banner数据
const { bannerList } = useBanner();
</script>

<template>
    <div class="container">
        <HomeCategroy />
        <HomeBanner :banner-list="bannerList" :type="'home'" />
    </div>
    <HomeNew />
    <HomeHot />
    <HomeProduct />
</template>

<style scoped lang="scss"></style>
